package es.valma.VideoClub.base;

import java.util.Date;

import es.valma.VideoClub.exception.base.VideoClubSvClienteException;
import es.valma.VideoClub.gestor.base.VideoClubSvGestorBase;

public class VideoClubSvCliente extends VideoClubSvPersona{

	private int id=0;
	private int credito=0;
	private String user;
	private String password;
	
	
	public VideoClubSvCliente(String nombre,String apellido1,String apellido2,String dni,String domicilio,String email,Date fechaNacimiento,int movil){
			super(nombre,apellido1,apellido2,dni,domicilio,email,fechaNacimiento,movil);
			setId(VideoClubSvSecuence.hasNext(1));
	}
	
	public VideoClubSvCliente(String nombre,String apellido1,String dni,String email){
			super(nombre, apellido1, dni, email);
			setId(VideoClubSvSecuence.hasNext(1));
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public int getCredito() {
		return credito;
	}

	public void setCredito(int credito) {
		this.credito = credito;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public VideoClubSvCliente(){
		super();
		this.id=0;
	}
	
	
	
	
}
